<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>this-4</title>
</head>
<body>
this-4
</body>
<script>
    var msg="Tony";
    var other={
        msg : "Tom"
    };
    function print(){
        console.log("this.msg",this.msg);
    }
    print();
    print.call();
    print.call(other);

    function print2(name, age){
        console.log("print2", this.msg,name,age);
    }
    print2("Tony",23);
    print2.call(other,"Tony",23);
</script>
</html>